/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cqcis.uip.base.framework.handlers.adaptor;

import java.util.List;

import com.cqcis.uip.base.framework.common.Task;
import com.cqcis.uip.base.framework.handlers.TableDispatchService;


/**
 * @author huangmy
 * @date   2008-1-24
 */
/**
 * 如果一个模板只处理给定的任务，不需要提交任务，则应该继承该类。
 */
public abstract class TaskProcessServiceAdaptor implements TableDispatchService {
    private Object lock = new Object();
    
	public List<Task> get(String interfaceId) throws Exception {
		synchronized (lock) {
			lock.wait();
		}
		
		return null;
	}

	public boolean processResult(List<Task> results) {		
		return false;
	}
}
